
#pragma once

class CHrkStream;
#include "HRKScene.h"

class CHrkExport : public SceneExport 
{
public:
					CHrkExport();
					~CHrkExport();

	int				ExtCount();					// Number of extensions supported
	const TCHAR *	Ext(int n);					// Extension #n (i.e. "3DS")
	const TCHAR *	LongDesc();					// Long ASCII description (i.e. "Autodesk 3D Studio File")
	const TCHAR *	ShortDesc();				// Short ASCII description (i.e. "3D Studio")
	const TCHAR *	AuthorName();				// ASCII Author name
	const TCHAR *	CopyrightMessage();			// ASCII Copyright message
	const TCHAR *	OtherMessage1();			// Other message #1
	const TCHAR *	OtherMessage2();			// Other message #2
	unsigned int	Version();					// Version number * 100 (i.e. v3.01 = 301)
	void			ShowAbout(HWND hWnd);		// Show DLL's "About..." box
	int				DoExport(const TCHAR *name,ExpInterface *ei,Interface *gi, BOOL suppressPrompts = FALSE, DWORD options = 0 );	
	BOOL			SupportsOptions(int ext, DWORD options);
	BOOL			TestIfSplit(INode * pNode);
	
	TCHAR m_filename[MAX_PATH];
	ExpInterface* m_ei;
	Interface* m_gi;
	BOOL m_suppressPrompts;
	DWORD m_options;
	CHrkStream m_os;

	static CHrkExport* m_pInstance;
	
	CHrkScene		m_myScene;
};